<!DOCTYPE html>
<html lang="zh_CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>实时监控系统</title>
    <link rel="stylesheet" href="css/base.css">
    <style>
        .center_trap {
            width: 1200px;
            min-width: 1200px;
            height: 700px;
            margin: 0 auto;
            background: url(images/apic33294.jpg) no-repeat;
            background-size: 1200px 700px;
            position: relative;
        }
        .center_trap .main_page{
            width: 100px;
            height: 100px;
            margin-left: 20px;
            margin-top: 20px;
        }
        .center_trap .shibie{
            width: 400px;
            height: 300px;
            position: absolute;
            left: 50%;
            top: 50%;
            margin-left: -200px;
            margin-top: -150px;
            text-align: center;
        }
        .center_trap .picbox{
            width: 400px;
            height: 300px;
            background-color: #fff;
        }
        .center_trap .picbox img{
            width: 100%;
            height: 100%;
        }
        .center_trap .wordbox{
            font-size: 40px;
            color: red;
        }
    </style>
</head>
<body>
    <div class="center_trap">
        <a href="index.html">
            <img src="images/首页-选中.png" class="main_page" alt="">
        </a>
        <div class="shibie">
            <div class="picbox">
                <!-- http://192.168.137.80:8081/ -->
                <img src="" id="jk" controls="controls"/>
            </div>
            <span class="wordbox">
                正在识别中
            </span>
            <div>
                <input type="text" id="info">
            </div>
            
        </div>
        <div>
            
        </div>
       
        
        <script>
            window.onload=function(){
                var oInfo=document.getElementById('info')
                var oJk=document.getElementById('jk')
                info.onchange=function(){
                    var address=oInfo.value;
                    oJk.src="http://"+address+":8081";
                    
                }
            }
        </script>
    </div>
</body>
</html>